From: Carlos Garnacho Date: Mon, 31 Oct 2022 12:14:10 +0000 (+0100) Subject: edgeDragAction: Drop grab-op-begin signal connection X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~137 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fe8201e1d26bac51ec5689f45b7c692cb37f20fb;p=gnome-shell.git edgeDragAction: Drop grab-op-begin signal connection This is done just to "reset" the gesture when a grab operation begins. With grab ops being based on ClutterGrab now, the gesture will be implicitly reset when these happen. This is unnecessary now. Part-of: --- diff --git a/js/ui/edgeDragAction.js b/js/ui/edgeDragAction.js index c0f9e4edd..25d1d3fb2 100644 --- a/js/ui/edgeDragAction.js +++ b/js/ui/edgeDragAction.js @@ -20,8 +20,6 @@ var EdgeDragAction = GObject.registerClass({ this._allowedModes = allowedModes; this.set_n_touch_points(1); this.set_threshold_trigger_edge(Clutter.GestureTriggerEdge.AFTER); - - global.display.connect('grab-op-begin', () => this.cancel()); } _getMonitorRect(x, y) {